Transferito\Controllers\Transfer D

Total Complexity 277
Dependencies 10
Dependents 1
Total lines 3,538
Lines of code 1,732
Logical lines of code 943
Comment lines 1,207
Methods 59
Properties 6

Methods 59

Method Rating Maintainability Complexity Lines of code
prepareDownload()
D
23
28 205
prepareLocalDownload()
B
31 11 133
archiveProgressCheck()
A
39 12 58
cleanUp()
A
40 11 60
startMigration()
A
40 9 59
cPanelCheck()
A
39 8 67
wpSiteCheck()
A
44 9 43
checkSiteWithinFreeTier()
A
51 8 29
databaseValidation()
A
45 7 41
switchMode()
A
46 7 36
checkArchiveCompletion()
A
54 8 20
getDirectoryCheckUpdate()
S
52 7 24
serverDetailValidation()
S
47 6 35
cpanelAuthentication()
S
44 5 42
chunkedDBExport()
S
52 6 25
addFilesToCodebase()
S
52 6 23
statusCheck()
S
53 6 21
getFTPDirectories()
S
50 5 28
destinationServerValidationCheck()
S
51 5 27
disableAutoPrependOption()
S
52 5 24
completeUpload()
S
47 4 36
areAPIKeysValid()
S
54 5 21
screenRouting()
S
47 4 35
archiveCompletionResponse()
S
49 4 34
enableAutoPrependOption()
S
57 5 17
enableWPObjectCache()
S
57 5 17
downloadVerificationFile()
S
49 4 31
addCheckServerValidation()
S
52 4 26
destinationServerConnectionExists()
S
55 4 20
__construct()
S
42 2 49
purgeDirectory()
S
57 4 18
uploadChunk()
S
48 3 32
disableWPObjectCache()
S
58 4 15
initiateUpload()
S
50 3 29
updateTheDestinationServerConnection()
S
60 4 13
prepareCodebase()
S
53 3 22
checkPremiumApiKeys()
S
54 3 21
startDirectoryCheck()
S
55 3 20
chooseMigrationMethod()
S
55 3 19
codebaseArchiveComplete()
S
55 3 19
prepareDatabase()
S
55 3 19
freshStart()
S
61 3 14
archiveDBExport()
S
61 3 12
checkArchiveError()
S
62 3 11
removeTransferitoTransients()
S
48 1 38
directoryValidation()
S
54 2 20
archiveCreation()
S
56 2 17
databaseExportComplete()
S
58 2 15
destinationServerValidation()
S
60 2 13
databaseRelocationCheck()
S
60 2 13
removeDBImportDirectory()
S
68 2 7
databaseRelocation()
S
64 2 9
loadDirectoryTemplate()
S
60 1 14
getFileParts()
S
65 1 9
hideQuickStart()
S
75 1 4
sendRequestForm()
S
65 1 9
buildVerificationURL()
S
80 1 3
hideWelcomeScreen()
S
73 1 5
logEvent()
S
70 1 6